#ifndef THREAD_H
#define THREAD_H

#include <QMainWindow>
#include <QThread>
#include <QMutex>
class Thread : public QThread
{
    Q_OBJECT
public:
    Thread(QMainWindow* parent);

    static int num;
    static QMutex mutex;
    void run() override;
signals:
    void notify();
};

#endif // THREAD_H
